package com.droowa.domain;

import java.io.Serializable;

//게시판 관리
public class BoardManagement implements Serializable {
	int boardId;
	String boardTitle;
	int open;
	int pagingListNum;
	int pagingNum;
	int partition;
	int fileAdd;
	int answer;
	int sort;
	int reply;
	int reply2;
	int secret;
	int secretAll;
	int secretReply;
	int writer;
	int writeDate;
	int cnt;
	int writeBtn;
	int email;
	int newTime;
	int image;
	int wPermission;
	int rPermission;
	int aPermission;
	int rpPermission;
	int paperDelete;
	int dOption;
	int rpPaging;
	int rpPagingListNum;
	int rpPagingNum;
	int rpSort;
	int titleLimit;
	int link;
	int html;
	int rClick;
	int classId;
	
	public BoardManagement() {
		super();
	}

	public BoardManagement(int boardId, String boardTitle, int open,
			int pagingListNum, int pagingNum, int partition, int fileAdd,
			int answer, int sort, int reply, int reply2, int secret,
			int secretAll, int secretReply, int writer, int writeDate, int cnt,
			int writeBtn, int email, int newTime, int image, int wPermission,
			int rPermission, int aPermission, int rpPermission,
			int paperDelete, int dOption, int rpPaging, int rpPagingListNum,
			int rpPagingNum, int rpSort, int titleLimit, int link, int html,
			int rClick, int classId) {
		super();
		this.boardId = boardId;
		this.boardTitle = boardTitle;
		this.open = open;
		this.pagingListNum = pagingListNum;
		this.pagingNum = pagingNum;
		this.partition = partition;
		this.fileAdd = fileAdd;
		this.answer = answer;
		this.sort = sort;
		this.reply = reply;
		this.reply2 = reply2;
		this.secret = secret;
		this.secretAll = secretAll;
		this.secretReply = secretReply;
		this.writer = writer;
		this.writeDate = writeDate;
		this.cnt = cnt;
		this.writeBtn = writeBtn;
		this.email = email;
		this.newTime = newTime;
		this.image = image;
		this.wPermission = wPermission;
		this.rPermission = rPermission;
		this.aPermission = aPermission;
		this.rpPermission = rpPermission;
		this.paperDelete = paperDelete;
		this.dOption = dOption;
		this.rpPaging = rpPaging;
		this.rpPagingListNum = rpPagingListNum;
		this.rpPagingNum = rpPagingNum;
		this.rpSort = rpSort;
		this.titleLimit = titleLimit;
		this.link = link;
		this.html = html;
		this.rClick = rClick;
		this.classId = classId;
	}

	public int getBoardId() {
		return boardId;
	}

	public void setBoardId(int boardId) {
		this.boardId = boardId;
	}

	public String getBoardTitle() {
		return boardTitle;
	}

	public void setBoardTitle(String boardTitle) {
		this.boardTitle = boardTitle;
	}

	public int getOpen() {
		return open;
	}

	public void setOpen(int open) {
		this.open = open;
	}

	public int getPagingListNum() {
		return pagingListNum;
	}

	public void setPagingListNum(int pagingListNum) {
		this.pagingListNum = pagingListNum;
	}

	public int getPagingNum() {
		return pagingNum;
	}

	public void setPagingNum(int pagingNum) {
		this.pagingNum = pagingNum;
	}

	public int getPartition() {
		return partition;
	}

	public void setPartition(int partition) {
		this.partition = partition;
	}

	public int getFileAdd() {
		return fileAdd;
	}

	public void setFileAdd(int fileAdd) {
		this.fileAdd = fileAdd;
	}

	public int getAnswer() {
		return answer;
	}

	public void setAnswer(int answer) {
		this.answer = answer;
	}

	public int getSort() {
		return sort;
	}

	public void setSort(int sort) {
		this.sort = sort;
	}

	public int getReply() {
		return reply;
	}

	public void setReply(int reply) {
		this.reply = reply;
	}

	public int getReply2() {
		return reply2;
	}

	public void setReply2(int reply2) {
		this.reply2 = reply2;
	}

	public int getSecret() {
		return secret;
	}

	public void setSecret(int secret) {
		this.secret = secret;
	}

	public int getSecretAll() {
		return secretAll;
	}

	public void setSecretAll(int secretAll) {
		this.secretAll = secretAll;
	}

	public int getSecretReply() {
		return secretReply;
	}

	public void setSecretReply(int secretReply) {
		this.secretReply = secretReply;
	}

	public int getWriter() {
		return writer;
	}

	public void setWriter(int writer) {
		this.writer = writer;
	}

	public int getWriteDate() {
		return writeDate;
	}

	public void setWriteDate(int writeDate) {
		this.writeDate = writeDate;
	}

	public int getCnt() {
		return cnt;
	}

	public void setCnt(int cnt) {
		this.cnt = cnt;
	}

	public int getWriteBtn() {
		return writeBtn;
	}

	public void setWriteBtn(int writeBtn) {
		this.writeBtn = writeBtn;
	}

	public int getEmail() {
		return email;
	}

	public void setEmail(int email) {
		this.email = email;
	}

	public int getNewTime() {
		return newTime;
	}

	public void setNewTime(int newTime) {
		this.newTime = newTime;
	}

	public int getImage() {
		return image;
	}

	public void setImage(int image) {
		this.image = image;
	}

	public int getwPermission() {
		return wPermission;
	}

	public void setwPermission(int wPermission) {
		this.wPermission = wPermission;
	}

	public int getrPermission() {
		return rPermission;
	}

	public void setrPermission(int rPermission) {
		this.rPermission = rPermission;
	}

	public int getaPermission() {
		return aPermission;
	}

	public void setaPermission(int aPermission) {
		this.aPermission = aPermission;
	}

	public int getRpPermission() {
		return rpPermission;
	}

	public void setRpPermission(int rpPermission) {
		this.rpPermission = rpPermission;
	}

	public int getPaperDelete() {
		return paperDelete;
	}

	public void setPaperDelete(int paperDelete) {
		this.paperDelete = paperDelete;
	}

	public int getdOption() {
		return dOption;
	}

	public void setdOption(int dOption) {
		this.dOption = dOption;
	}

	public int getRpPaging() {
		return rpPaging;
	}

	public void setRpPaging(int rpPaging) {
		this.rpPaging = rpPaging;
	}

	public int getRpPagingListNum() {
		return rpPagingListNum;
	}

	public void setRpPagingListNum(int rpPagingListNum) {
		this.rpPagingListNum = rpPagingListNum;
	}

	public int getRpPagingNum() {
		return rpPagingNum;
	}

	public void setRpPagingNum(int rpPagingNum) {
		this.rpPagingNum = rpPagingNum;
	}

	public int getRpSort() {
		return rpSort;
	}

	public void setRpSort(int rpSort) {
		this.rpSort = rpSort;
	}

	public int getTitleLimit() {
		return titleLimit;
	}

	public void setTitleLimit(int titleLimit) {
		this.titleLimit = titleLimit;
	}

	public int getLink() {
		return link;
	}

	public void setLink(int link) {
		this.link = link;
	}

	public int getHtml() {
		return html;
	}

	public void setHtml(int html) {
		this.html = html;
	}

	public int getrClick() {
		return rClick;
	}

	public void setrClick(int rClick) {
		this.rClick = rClick;
	}

	public int getClassId() {
		return classId;
	}

	public void setClassId(int classId) {
		this.classId = classId;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + aPermission;
		result = prime * result + answer;
		result = prime * result + boardId;
		result = prime * result
				+ ((boardTitle == null) ? 0 : boardTitle.hashCode());
		result = prime * result + classId;
		result = prime * result + cnt;
		result = prime * result + dOption;
		result = prime * result + email;
		result = prime * result + fileAdd;
		result = prime * result + html;
		result = prime * result + image;
		result = prime * result + link;
		result = prime * result + newTime;
		result = prime * result + open;
		result = prime * result + pagingListNum;
		result = prime * result + pagingNum;
		result = prime * result + paperDelete;
		result = prime * result + partition;
		result = prime * result + rClick;
		result = prime * result + rPermission;
		result = prime * result + reply;
		result = prime * result + reply2;
		result = prime * result + rpPaging;
		result = prime * result + rpPagingListNum;
		result = prime * result + rpPagingNum;
		result = prime * result + rpPermission;
		result = prime * result + rpSort;
		result = prime * result + secret;
		result = prime * result + secretAll;
		result = prime * result + secretReply;
		result = prime * result + sort;
		result = prime * result + titleLimit;
		result = prime * result + wPermission;
		result = prime * result + writeBtn;
		result = prime * result + writeDate;
		result = prime * result + writer;
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		BoardManagement other = (BoardManagement) obj;
		if (aPermission != other.aPermission)
			return false;
		if (answer != other.answer)
			return false;
		if (boardId != other.boardId)
			return false;
		if (boardTitle == null) {
			if (other.boardTitle != null)
				return false;
		} else if (!boardTitle.equals(other.boardTitle))
			return false;
		if (classId != other.classId)
			return false;
		if (cnt != other.cnt)
			return false;
		if (dOption != other.dOption)
			return false;
		if (email != other.email)
			return false;
		if (fileAdd != other.fileAdd)
			return false;
		if (html != other.html)
			return false;
		if (image != other.image)
			return false;
		if (link != other.link)
			return false;
		if (newTime != other.newTime)
			return false;
		if (open != other.open)
			return false;
		if (pagingListNum != other.pagingListNum)
			return false;
		if (pagingNum != other.pagingNum)
			return false;
		if (paperDelete != other.paperDelete)
			return false;
		if (partition != other.partition)
			return false;
		if (rClick != other.rClick)
			return false;
		if (rPermission != other.rPermission)
			return false;
		if (reply != other.reply)
			return false;
		if (reply2 != other.reply2)
			return false;
		if (rpPaging != other.rpPaging)
			return false;
		if (rpPagingListNum != other.rpPagingListNum)
			return false;
		if (rpPagingNum != other.rpPagingNum)
			return false;
		if (rpPermission != other.rpPermission)
			return false;
		if (rpSort != other.rpSort)
			return false;
		if (secret != other.secret)
			return false;
		if (secretAll != other.secretAll)
			return false;
		if (secretReply != other.secretReply)
			return false;
		if (sort != other.sort)
			return false;
		if (titleLimit != other.titleLimit)
			return false;
		if (wPermission != other.wPermission)
			return false;
		if (writeBtn != other.writeBtn)
			return false;
		if (writeDate != other.writeDate)
			return false;
		if (writer != other.writer)
			return false;
		return true;
	}

	@Override
	public String toString() {
		return "BoardManagement [boardId=" + boardId + ", boardTitle="
				+ boardTitle + ", open=" + open + ", pagingListNum="
				+ pagingListNum + ", pagingNum=" + pagingNum + ", partition="
				+ partition + ", fileAdd=" + fileAdd + ", answer=" + answer
				+ ", sort=" + sort + ", reply=" + reply + ", reply2=" + reply2
				+ ", secret=" + secret + ", secretAll=" + secretAll
				+ ", secretReply=" + secretReply + ", writer=" + writer
				+ ", writeDate=" + writeDate + ", cnt=" + cnt + ", writeBtn="
				+ writeBtn + ", email=" + email + ", newTime=" + newTime
				+ ", image=" + image + ", wPermission=" + wPermission
				+ ", rPermission=" + rPermission + ", aPermission="
				+ aPermission + ", rpPermission=" + rpPermission
				+ ", paperDelete=" + paperDelete + ", dOption=" + dOption
				+ ", rpPaging=" + rpPaging + ", rpPagingListNum="
				+ rpPagingListNum + ", rpPagingNum=" + rpPagingNum
				+ ", rpSort=" + rpSort + ", titleLimit=" + titleLimit
				+ ", link=" + link + ", html=" + html + ", rClick=" + rClick
				+ ", classId=" + classId + "]";
	}
}
